xml spy
Encoding
[Previous] [Main] [Next]

The encoding settings specify the kind of character-set encoding to be used when creating new files as well as the encoding to be assumed when opening files that lack and encoding declaration.

settings_encoding.gif


·The default encoding for new files can be pre-determined in the Settings dialog so that each new document is automatically created with a proper XML-declaration and includes the encoding-specification that you most commonly need. The encoding for existing files will, of course, always be remembered independently of this setting and can only be changed by the "Encoding" command on the "File" menu.  
·If a two- or four-byte encoding is selected as the default encoding (i.e. UTF-16, UCS-2, or UCS-4) you can also choose between little-endian and big-endian byte-ordering for the XML files.  
·You may also choose how an XML file is to be interpreted that is missing an encoding-specification and whose encoding also cannot be auto-detected. In most cases this will very likely be UTF-8 or ISO-8895-1, even though the XML specification theoretically only allows UTF-8 files to come without an encoding-specification.  
·Sometimes is can be convenient to also use XML Spy for editing non-XML files (such as Active Server Pages (ASP) or similar web-related document. Since these files do not contain any encoding statements, you must specify a default Windows CodePage to be used for accessing these files.  


⌐ 2000 Icon Information-Systems